package com.snail.readyvr.di.module;

import com.snail.readyvr.di.scope.ActivityScoped;
import com.snail.readyvr.mvp.contract.LoginActivityContract;

import dagger.Module;
import dagger.Provides;

/**
 * Created by MRKING on 2016/10/11.
 */


@Module
public class LoginActivityPresenterModule {
    private LoginActivityContract.View mView;

    public LoginActivityPresenterModule(LoginActivityContract.View view) {
        mView = view;
    }

    @ActivityScoped
    @Provides
    public LoginActivityContract.View provideView(){
        return mView;
    }
}
